import Vue from 'vue'
import {
  Row, Col, Dialog, List, NavBar, Form, Field, Button, Tabbar, TabbarItem,
  Icon, Tab, Tabs, Toast, Cell, PullRefresh, ActionSheet, Popup, Badge,
  Search, Divider, Tag, CellGroup, Image, DatetimePicker, Lazyload
} from 'vant'

const components = [Row, Col, Dialog, List, NavBar, Form, Field, Button, Tabbar, TabbarItem,
  Icon, Tab, Tabs, Toast, Cell, PullRefresh, ActionSheet, Popup, Badge,
  Search, Divider, Tag, CellGroup, Image, DatetimePicker, Lazyload]

components.forEach((item) => {
  Vue.use(item)
})
